package com.system.Mapper;

import com.system.Entity.GuestBook;
import com.system.Entity.ReplyLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GuestBookMapper {
    void addGB(GuestBook guestBook);

    List<GuestBook> getList(@Param("status") String status);

    void deleteGB(String gbId);

    void deleteReply(String gbId);

    void reply(ReplyLog replyLog);

    void updateStatus(String gbId);

    List<ReplyLog> replyHistory(@Param("gbId") String gbId);
}
